package cn.heygod.nacostool;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
public class NacosToolApplication {

    public static void main(String[] args) {

        ApplicationContext context = SpringApplication.run(NacosToolApplication.class, args);
        System.out.println(context.getApplicationName());
        System.out.println(context.getId());
    }

}
